Fixed squirrel.rm and added a basic test