PEP8, documentation, testing for spa.Action conditions