added some edge case tests -- closing issue 1