Adding REST tests
Adding main