Adding tests for doubles and regex