added tests to statuses controller