Capybara test improve

@joneslee85 
since we are using ruby19 hash syntax, let's have it done in ruby19 way, that is `:count => 9` to `count: 9`