Added some tests for the prelaoder