Add tests for postbase and prebase