Converted BDD style test to TestCase style