fixed menu tests and added parser tests