added testing and fixes for case sensitivity bug
added rectangle tool