Add basic blop_adsr test and refactor stuff a bit