tests for common
added tests for output