Tests added

This should be in spec/integration