Switched professor tests to use factory and got rid of :should syntax because it is deprecated