added tests, compiling, test produces error