Fixed submit behaviour of test buttons