Add some tests

Need improvements like JSON parsing the response...