Addedd two new methods to API plus a new test