Clean up level tests
Better frame attribute support

* Made quoted values optional in more cases
* Improved parsing - unquoted final attributes no longer fail