Change tests for constructor version of library