fixed compilation and execution of test