fixed class tests