testing of interface design and button class