Just like I don't want employer to flip it into "we need 12 hours worth of work" or hold unrealistic deadline over mu throat, I will ask for new task if original estimate was too short.
I did actually signed contract that actually specifies fI'll time - 40 hours.
That's not how creative work works though. Do you ever think about your code at night or the weekend? Mental work is basically always on and can't be judged by the amount of time at the keyboard implementing it. The whole concept of tasks per hour doesn't map well to software development.
The actual example was "I was done in 0.5 hour, I dont owe you another 7.5 hours of work". Unless you signed contract that is for specified amount of work, you do.
I you wanna count weekend thinking into it, is a different question.