Fixed bug on test definition