unit tests for statment gets