adds test and new methods