#249 Rest api

Remove all useless tests, all of them will be created in TDD