bug in get_class() usage
enhanced unit tests