Added some REST tests and work.