made sure test instatiatied the right class