move tests to common test