Use oslotest package to simplify tests