added paramdecls for function parameters, added class test