updated specs, tests and remote funs