added test to solution for 1