Fixed bug preventing tests from being executed