Some useful tips from "Testing Rails" book by thoughtbot