fixed non-compiling test