Removal of use of assert-type macro

The code doesn't need to check the type of arguments anymore as the type information has already been provided. If a wrong type is passed, you get a ClassCastException. 

I've left the macro but removed its use. I've fixed the tests accordingly.