added new exception for stopwatch lap and period stop. Added some more unit tests