Added test cases for suspend() and resume()