Added tests and get and delete methods.