Adding new test file and improve checkstyle

Reviewers

@alberts-tid 

Description

ADD unit test to the aspects class.

Test

tested locally