parser methods and various tests