added all test code used for individual components for easy access