added tests for rest console