Fix the stdlib functions that fail tests
Merge pull request #251 from hunner/fix_tests

Fix the stdlib functions that fail tests