Throw one more time, i dare you, i double dare you!

Added exception throwing to setAllocatedHours and changed test.