modified spec test is working