cleaned up
added tests with many variables for comparision