Fixed testing when only compiling