Refactored the tests a little bit
Added part of comparison
Added support for types/classes(partially)
Added comments