improvements on the test firmware