Bugfix: instance variable Waves
Test: add unit tests, add travis ci icon to README