Added test flags for when compiling on windows
Removed allocEmptyBuffer and sprintf flag
Added test function for SHA512, swapped threads to static allocation