added tests for components