Added a test for a method