updated tests and testing framework
- added a test system for API tests
- updated string API tests
- added an "abort" function to stdlib