fixed bug where some unit tests weren't running on classes