extended grammar for protein variations, added test cases