Added tests for components