changed assert module test
fixed REST module initialization