Fix jasmine test errors and handle bounds with decimals