bug fixes

added unit tests for basic numeric input