Profile specific memory management
Test cases for posix classes
Fix double line breaks in profile parser