Class and Element unit test