refactored toueney create test