Fixed an issue where test state got shared and also added test to verify
that Timout method is called even though there is a Handle for the same
timeout