Replaced old stmd tests with fresh specs