Run test when submit code