Hopefully fixed issue with compiling on Linux Mint
Fixed bug in ulong_to_comp_t; expanded unit tests