Added try/Except block to parse status response. Added tests for parsing status response