the test are working, added pry debug