fleshed out the range unit test
added a bad expression test