Add function - Rspec testing framework