Expanded integration tests and added the rspec flavour of them