add memalign unit test
Merge pull request #466 from sijchen/add_memalign_test

Add memalign unit test