move general test file into component test file