This PR acts as a temporary fix to #309. The problem seems to be that with Python 3 inspect.isclass sometimes randomly filters out some of the objects, which causes import error when unit tests try to load these objects. This is by no mean a permanent fix though.
attempt to fix the imoprt error in test
attempt to fix the import error in test
temporary fix for random import error in python 3