fixed compilation of test