Added some tests to make sure unit testing works for components