[bugfix] add return value for tests