load class from file + tests