base: extend thread test for stack alignment