Put full stack tests in their own function

Signed-off-by: Ian Macalinao <me@ian.pw>