added gems for testing and got tests to pass