fixed projection issue; added test suite.