Refactor tests

Add test.sh script, which generates a fake then runs tests
which use that fake. Remove test that checks the string
output of code generation
Add 'Returns' methods to generated fakes