Wrote tests for the restro controller